from LiMeteo import ERA5Plotter
import numpy as np

p = ERA5Plotter('F:/idea/weather-chart/data/20220120-20220131.nc')

mapRange = [40, 160, 15, 70]
p.createFigure()
p.dataSetting("2022012614", dataRange=mapRange)
p.drawMap(coastalLineColor='#444444', mapRange=mapRange)
p.drawContour('z', 500, color='k')
# p.drawGradient('t', 1000, contourf=True, value=np.linspace(0, 0.2, 11))
# p.drawWindBarb(850, lowRes=10, color='b')
p.drawWindArrow(500, color='r')
p.title()
p.show()